import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

import VueRouter  from 'vue-router'
Vue.use(VueRouter)

import UkX from '@/views/UkX'
import XxY from '@/views/XxY'
import YyX from '@/views/YyX'
import TyNoe from '@/views/TyNoe'
import TyTwo from '@/views/TyTwo'

const router = new VueRouter({
  routes: [
    { path: '/UkX', component: UkX },
    { path: '/XxY', component: XxY },
    { path: '/YyX', component: YyX,
    children:[
      { path: '/TyNoe', component: TyNoe },
      { path: '/TyTwo', component: TyTwo },
    ]
  },
  ]
})


new Vue({
  render: h => h(App),
  router
}).$mount('#app')
